package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.Result;
import com.itheima.pojo.Goods;

/**
 * Create By Awen on 2021/9/28
 *
 * @author Awen
 */
public interface GoodsService extends IService<Goods> {
    Result<Goods> findPage(Integer page, Integer size);

    Result findById(Integer id);

    Result add(Goods goods);

    Result deleteById(Integer id);
}
